package com.example.webcrawler.dto;

import com.example.webcrawler.model.DataType;
import java.util.Map;

public class CrawlResponse {
    private DataType dataType;
    private Object data;
    private String message;
    private boolean success;

    // getters and setters
    public DataType getDataType() {
        return dataType;
    }

    public void setDataType(DataType dataType) {
        this.dataType = dataType;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}